package com.sihai.ehr.service;

import com.sihai.core.Limit;
import com.sihai.core.LimitedList;
import com.sihai.core.Sorter;
import com.sihai.ehr.model.biz.SalaryStatistics;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Wang.Yi
 * Date: 2013-3-2
 * Time: 13:30:45
 * To change this template use File | Settings | File Templates.
 */
public interface SalaryStatisticsService {

    LimitedList<SalaryStatistics> find(int year,int month,Long organizationId,Long dutyId, Sorter sorter, Limit limit);

    LimitedList<SalaryStatistics> findByUserId(int year, int month, Long workId, Sorter sorter, Limit limit);

    Boolean report(List<SalaryStatistics> statisticses, String saveFile) throws Exception;
}
